package cn.ryh.sentinel.controller;
import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author Rao
 * @Description
 * @create 2022-01-13 17:02
 */
public class BlockHandlerClass {

    public static String onlyWithblockHandlerClass(BlockException block) {

        return "onlyWithblockHandlerClass" + block.getMessage();
    }
    public static String blockHandlerWithFallback(BlockException block) {
        return "blockHandlerClassWithFallbackClass BlockException " + block.getMessage();
    }
}
